#ifndef WIDGET_H
#define WIDGET_H

#include <QWidget>
#include <bits/stdc++.h>
namespace Ui {
class Widget;
}

class Widget : public QWidget
{
    Q_OBJECT

public:
    explicit Widget(QWidget *parent = nullptr);
    ~Widget();
    QString GenerateBracketsProblem(bool flag);
    QString GenerateFractionProblem();
    void GenerateProblem(int num, bool hasBrac, bool hasFrac);
//private slots:
    void GenerateButtonPressed();
    void ExportButtonPressed();
private:
    Ui::Widget *ui;
};

#endif // WIDGET_H
